package com.kaili.basic.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.kaili.common.pojo.entity.BaseEmployee;

import java.util.List;
import java.util.Map;

/**
 * Created by rzh on 18-5-8.
 */
public interface IBaseEmployeeService extends IService<BaseEmployee> {
    Page<BaseEmployee> selectByMap(Page<BaseEmployee> page, BaseEmployee baseEmployee);

    List<BaseEmployee> exportByMap(BaseEmployee baseEmployee);

    Page<BaseEmployee> selectByPar(Page<BaseEmployee> page, String par, Integer par1);

    BaseEmployee selectById(Integer id);

    String getCode();

    List<BaseEmployee> exportBaseEmployeeQueryList(Map map);

    BaseEmployee getEmpByName(String empName);

    //根据ID修改密码
    int updatePasswordById(Map<String,Object> params);
}
